package breadbox.pastry.messages;

import java.io.Serializable;
import java.net.InetAddress;

import breadbox.pastry.routing.RoutingNode;

public class JoinRequest implements Serializable {
	private static final long serialVersionUID = 4495946035921548220L;
	public int hops;
	public RoutingNode origin;
	public InetAddress target;
	
	public JoinRequest( RoutingNode o, InetAddress t ) {
		origin = o;
		hops = 0;
		target = t;
	}
}
